import { StackScreenProps } from '@react-navigation/stack'
export type RootStackParamList = {
  Home: undefined
  Login: undefined
  GoodDetail: any
  GoodSearchWrap: undefined
  GoodSearchTab: { key: string }
  CommonGoods: undefined
  VideoSwiper: undefined
  Camera: undefined
  VideoCommentList: undefined
  ShareModel: undefined
  GoodParams: undefined
  Model: undefined
  Cart: undefined
  MyWebView: { url: string }
}

export type StackProps<T extends keyof RootStackParamList> = StackScreenProps<
  RootStackParamList,
  T
>
